#include "camera.hpp"
#include "actor.hpp"

namespace FndGame2D {

    bool camera::point_in_screen(const position_type& point) const {
        return m_rect.Contains(point.x, point.y) ;
    }
    bool camera::rect_in_screen(const rect_type& rect, rect_type* intersect_rect) const {
        return m_rect.Intersects(rect, intersect_rect) ;
    }
    bool camera::actor_in_screen(const actor& actor, rect_type* intersect_rect) const {

    }
    
}
